using System;

namespace KodeIT.Web
{
    /// <summary>
    /// This class is the helper generic class used by all event arguments.
    /// </summary>
    /// <typeparam name="T">The instance used as argument for the event.</typeparam>
    public abstract class FilterEventArgs<T> : EventArgs
    {
        private T _context;

        internal FilterEventArgs(T context)
        {
            _context = context;
        }

        public T Context
        {
            get { return _context; }
        }
    }
}
